package com.gao.test;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class HelloService {
    private String name;
    private ServiceProperties serviceProperties;
    public String  sayHello(){
        return serviceProperties.getPre()+name+serviceProperties.getSuf();
    }

}
